Skip to content

Migrate to TOML, and allow multiple calendars#116

Merged
mendhak merged 75 commits into
masterfrom
toml_migration
Jun 21, 2026
Merged

Migrate to TOML, and allow multiple calendars#116
mendhak merged 75 commits into
masterfrom
toml_migration

Conversation

@mendhak

@mendhak mendhak commented May 3, 2026

Copy link
Copy Markdown
Owner

Move away from env.sh, use config.toml instead. This is to deal with the growing number of configurations, make it easier to read and manage.

Allow multiple calendars to be combined (this is easily done with toml's [[ ]] notation)

Moved several files into their own folders.

Renamed several files to follow the python_underscore_naming_convention

Comment thread config_toml_test.py Outdated
Comment thread config.example.toml

@mendhak mendhak May 3, 2026

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving from the very lengthy and complicated env.sh to config.toml. It doesn't take the length away, just organizes it a bit better. There are now sections for display, calendar, weather, alerts.

Comment thread config.example.toml
Comment thread requirements.txt
Comment thread calendar_providers/google.py
@mendhak mendhak changed the title WIP - Migrate to TOML, and allow multiple calendars Migrate to TOML, and allow multiple calendars Jun 4, 2026
@mendhak mendhak merged commit 1125fc6 into master Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant